package org.budo.netty.servlet.server.handler.servlet;

import javax.servlet.Servlet;

import lombok.Getter;
import lombok.Setter;

/**
 * @author lmw
 */
@Getter
@Setter
public class ServletResolved {
    private Servlet servletInstance;

    private String servletPath;

    private String pathInfo;

    public ServletResolved() {}

    public ServletResolved(Servlet servletInstance) {
        this.servletInstance = servletInstance;
    }

    public ServletResolved(String servletPath, String pathInfo) {
        this.servletPath = servletPath;
        this.pathInfo = pathInfo;
    }
}